<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@taglib
	uri="http://java.sun.com/jsf/core" prefix="f"%><%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<f:view><h:form>
		<h:panelGrid border="1" columns="2">
			<h:outputText value="账号"></h:outputText>
			<h:inputText value="#{loginBean.name}"></h:inputText>
			
			<h:outputText value="密码"></h:outputText>
			<h:inputSecret value="#{loginBean.password}"><f:validator validatorId="jsf.demo.ValidatePassword"/></h:inputSecret>			
		</h:panelGrid>
		<h:commandButton value="登录" action="login"></h:commandButton>
	</h:form></f:view></body>
</html>
